package com.vctgo.certificate.mapper;

import java.util.List;
import com.vctgo.certificate.domain.TbCertificate;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.vctgo.common.mybatisplus.mapper.BaseMapperX;
import org.apache.ibatis.annotations.Param;
/**
 * 凭证字Mapper接口
 *
 * @author vctgo
 * @date 2024-12-16
 */
public interface TbCertificateMapper extends BaseMapperX<TbCertificate>
{

    /**
     * 查询凭证字列表-分页
     *
     * @param tbCertificate 凭证字
     * @return 凭证字集合
     */
    IPage<TbCertificate> selectTbCertificateList(Page page,@Param("query") TbCertificate tbCertificate);
    /**
     * 查询凭证字列表
     *
     * @param tbCertificate 凭证字
     * @return 凭证字集合
     */
    List<TbCertificate> selectTbCertificateList(@Param("query") TbCertificate tbCertificate);

    /**
     * 批量删除凭证字
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    int deleteTbCertificateByIds(Long[] ids);
}
